package com.ym.domain.model;

import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnComment;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableComment;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Table
@TableComment("域名DNS")
public class DmDomainDns {

    @IsKey
    @Column
    @ColumnComment("域名ID")
    private Long domainId;

    @Column(length = 500)
    @ColumnComment("dns地址")
    private String dnsAddress;

    @Column
    @ColumnComment("创建时间")
    private LocalDateTime updateTime;

}
